getViewModelStore

Returns the ViewModelStore associated with this Fragment

Overriding this method is no longer supported and this method will be made final in a future version of Fragment.

Return

a ViewModelStore

Throws

if called before the Fragment is attached i.e., before onAttach().